<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a[title='aaa']{
            color: red;
        }
    </style>
</head>
<body>
<a href="#" title="bbb">bbb</a> <br>
<a href="#" title="aaa">aaa</a>
</body>
</html>